﻿using System.ComponentModel.DataAnnotations;

namespace AiBLSmartEdu.Module.Auth.API.DTOs;

#nullable disable

/// <summary>
/// 密码登录
/// </summary>
public class LoginInputModel
{
    /// <summary>
    /// 用户名
    /// </summary>
    [Required(ErrorMessage = "用户名是必填的")]
    public string Username { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    [Required(ErrorMessage = "密码是必填的")]
    public string Password { get; set; }
}
